package com.kino.example.mybatisplusdemo.bj.controller;


import com.kino.example.mybatisplusdemo.bj.entity.KStudent;
import org.springframework.web.bind.annotation.*;

import java.util.Optional;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author kino
 * @since 2023-05-25
 */
@RestController
@RequestMapping("/bj/k-student")
public class KStudentController {



    @GetMapping("/get/{id}")
    public KStudent get(@PathVariable Integer id){
        KStudent student = new KStudent();
        student.setName("kkkkkkkkkkkkk");
        return student;
    }

/*    @GetMapping("/pagelist")
    public IPage<KStudent> pagelist(){
        Page<KStudent> page = new Page<>(1,10);
        return studentService.selectPageVo(page);
    }*/


}
